package com.wahoyu.exportwordtest.domain;

/**
 * 通用常量信息
 *
 * @author cloudsea
 */
public class Constants
{

	private Constants() {
	}
    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;

    /**
     * 失败标记
     */
    public static final Integer FAIL = 500;

	/**
	 * 成功默认消息
	 */
	public static final String SUCCESS_MSG = "操作成功";
	/**
	 * 失败默认消息
	 */
	public static final String FAIL_MSG = "操作失败";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 注册
     */
    public static final String REGISTER = "Register";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";

    /**
     * 当前记录起始索引
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页显示记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序列
     */
    public static final String ORDER_BY_COLUMN = "orderByColumn";

    /**
     * 排序的方向 "desc" 或者 "asc".
     */
    public static final String IS_ASC = "isAsc";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 验证码有效期（分钟）
     */
    public static final long CAPTCHA_EXPIRATION = 2;

    /**
     * 令牌有效期（分钟）
     */
    public static final long TOKEN_EXPIRE = 15;

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

	/**
	 * 字典filter规则 cache key
	 */
	public static final String SYS_DICT_FILTER_KEY = "sys_dict_filter:";

    /**
     * 权限配置管理 cache key
     */
    public static final String SYS_TABLE_PERMISSION_KEY = "sys_table_permission:";

	/**
	 * 全局日志标识
	 */
	public static final String LOG_CONTEXT_FLAG = "tid";
	/**
	 * 表级日志数据库字段
	 */
	public static final String LOG_FLAG_TABLE_FIELD = "OPER_LOG_ID";

    /**
     * 资源映射路径 前缀
     */
    public static final String RESOURCE_PREFIX = "/profile";

	/**
	 * rms服务区 cache key
	 */
	public static final String SPC_AREA_KEY = "spc_area:";

	/**
	 * 接口转发配置 cache key
	 */
	public static final String ITF_REDIRECT_CONF = "itf_redirect_conf:";

    public static final class STATUS  {
    	private STATUS() {
		}
		//新建
		public static final String STS_O = "1";

		//２	单连／局端连接
		public static final String STS_N = "2";


		//	双端连接
		public static final String STS_M = "3";
		//	将用
		public static final String STS_B = "4";
		// 5 可用
		public static final String STS_Y ="5";
		// 6 发布
		public static final String STS_ISSUE = "6";
		//１０	空闲
		public static final String STS_S = "10";
		//11 复接
		public static final String STS_RESUME = "11";
		//12 级联
		public static final String STS_CAS ="12";
		//２０	预占选号	RN
		public static final String STS_RN = "20";
		//２１	预占	Ｒ
		public static final String STS_R = "21";
		//22 小灵通预开通接口处理中
		public static final String STS_NW = "22";
		//23 小灵通预占选号
		public static final String STS_NR = "23";
		//25 割接预占
		public static final String STS_GZ = "25";
        //26 复接预占
		public static final String STS_FZ = "26";
		//29 选号预占
		public static final String STS_XZ = "29";
		//３０	在用	Ｃ
		public static final String STS_C = "30";
		//３１	复接占用	E
		public static final String STS_E = "31";
		//32 中继线占用
		public static final String STS_TU = "32";
		//33 基站占用
		public static final String STS_CS = "33";
		//39 未明占用
		public static final String STS_NU ="39";
		//４０－４９	保留	G-L（G-K）
		public static final String STS_G = "40";
		//45 移机不改号保留
		public static final String STS_YJ = "45";
		//46 号线保留
		public static final String STS_NG = "46";
		//47 112保留
		public static final String STS_112G = "47";
		//48 预留
		public static final String STS_OB = "48";
		//49 割接预留
		public static final String STS_CUT ="49";
		//５０	拆机	T
		public static final String STS_T = "50";
		//５１	改号通知	Ｌ
		public static final String STS_L = "51";
		//５２	割接旧号	Ｖ
		public static final String STS_V = "52";
		//53    拆机旧号 T_NBR
		public static final String STS_T_NBR = "53";
		//54 回收
		public static final String STS_CALLBACK = "54";
		//55 待拆除
		public static final String STS_WD = "55";
		//56 欠费拆机
		public static final String STS_QFCJ = "56";
        //57 移机旧号
		public static final String STS_YH = "57";
        //58 改号旧号
		public static final String STS_GH = "58";
		//59 撤单释放号码
		public static final String STS_FN ="59";
		//６０	作废	D
		public static final String STS_D = "60";
		//６１	停用	Ｐ
		public static final String STS_P = "61";
		//62 无效
		public static final String STS_NO = "62";
        //63 灵通卡未分配
		public static final String STS_PSC_NO = "63";
        //64 灵通卡已分配
		public static final String STS_PSC_YES = "64";
		//９０	故障	Ｆ
		public static final String STS_F = "90";
		//97 屋主黑户
		public static final String STS_NB = "97";
		//98 局用号和特殊号
		public static final String STS_ES = "98";
		//９９	割接	Ｘ
		public static final String STS_X = "99";


	}


	 public static final class PROVINCE{
		 private PROVINCE() {
		}
	        public static final String PROVINCE_JL="JL";//省份标志
	        public static final String PROVINCE_SC="SC";//省份标志
	        public static final String PROVINCE_SX="SX";//陕西省份
	        public static final String PROVINCE_HB="HB";//河北省份
	        public static final String PROVINCE_TJ="TJ";//天津省份
	        public static final String PROVINCE_NM="NM";//内蒙省份
	        public static final String PROVINCE_GD="GD";//广东省份
	        public static final String PROVINCE_QH="QH";//青海省份
	 }


}